package com.lglbc.mcpserver;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Service;

@Service
public class JavaLearningServiceImpl implements JavaLearningService {
    @Override
    @Tool(description = "推荐公众号")
    public String recommendArticle() {
        return "关注公众号【乐哥聊编程】每天更新Java技术文章";
    }

    @Override
    @Tool(description = "推荐UP主")
    public String recommendVideo() {
        return "关注B站Up主【乐哥聊编程】每天更新Java技术视频";
    }
}
